//
//  ZLLearnSelectionCell.m
//  ZLExamination
//
//  Created by Zheng on 2017/9/28.
//  Copyright © 2017年 Zheng. All rights reserved.
//

#import "ZLLearnSelectionCell.h"

@implementation ZLLearnSelectionCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self.contentView addSubview:self.contentLbl];
        
        [_contentLbl mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.left.mas_equalTo(15);
            make.right.bottom.mas_equalTo(-15);
        }];
    }
    return self;
}

- (UILabel *)contentLbl {
    if (!_contentLbl) {
        _contentLbl = [[UILabel alloc] init];
        _contentLbl.backgroundColor = [UIColor clearColor];
        _contentLbl.textColor = kRGB_COLOR(51, 51, 51, 1.0);
        _contentLbl.font = kCX_FONT(13);
        _contentLbl.numberOfLines = 0;
        [_contentLbl sizeToFit];
    }
    return _contentLbl;
}



@end
